package com.ruomeng.robot.service;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ruomeng.robot.mapper.goodsUpdateMapper;


@Service
public class GoodsUpdateService {
	
	 @Autowired
	 private goodsUpdateMapper testMapper;
	 
	 
	 
	 /**
	  * 检测群更新软件
	  * @param map
	  * @return
	  */
	 public int checkGroupGoodsStatus(Map<String,Object> map) {
		return testMapper.checkGroupGoodsStatus(map);
	 }
     
	 /**
	  * 商品更新软件
	  * @param map
	  * @return
	  */
	 public int checkGoodsUpdateStatus(Map<String,Object> map) {
			return testMapper.checkGoodsUpdateStatus(map);
		 }
	 
	 /**
	  * 优惠券更新软件
	  * @param map
	  * @return
	  */
	 public int checkCounponUpdateStatus(Map<String,Object> map) {
			return testMapper.checkCounponUpdateStatus(map);
		 }
	 
}
